import Vue from 'vue'
import './../static/config'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets



import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/en' // lang i18n

import '@/styles/index.scss' // global css

import App from './App'
import store from './store'
import router from './router'
/**
if (process.env.NODE_ENV === 'development') {
  require('./mock') // simulation data
}**/

import * as customFilter from './utils/comFilters'

Object.keys(customFilter).forEach(key => {
    Vue.filter(key, customFilter[key])
})


import '@/icons' // icon
import '@/permission' // permission control





//jquery
import $ from 'jquery'

Vue.use(ElementUI)

Vue.config.productionTip = false

//打印
import Print from '@/components/print/print'
Vue.use(Print) // 注册

//cjianquan 2019/8/29 联级多选
import elCascaderMulti from "el-cascader-multi";
Vue.use(elCascaderMulti);

//cjianquan 2019/9/20 实现拖拽功能
import '@/utils/cust_directives.js'



new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})

